package com.yunxin.core.infra.persistence.entity.contact;

import java.io.Serializable;
import java.util.Date;

/**
 * 触点消息短信发送表
 *
 * @author zero°
 * @since   2023-06-04
 */
public class ContactMessageSendSmsDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 任务执行id
     */
    private Long taskExecuteId;

    /**
     * 发送流水号(唯一标识)
     */
    private String serialNo;

    /**
     * 接收者
     */
    private String receiver;

    /**
     * 发送状态 1.发送中 2.发送成功 3.提交失败 4.触达失败 5.触达成功
     */
    private Integer sendStatus;

    /**
     * 失败原因
     */
    private String failReason;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTaskExecuteId() {
        return taskExecuteId;
    }

    public void setTaskExecuteId(Long taskExecuteId) {
        this.taskExecuteId = taskExecuteId;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public Integer getSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(Integer sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}